Communication apparatus and speech message storing method

ABSTRACT

A memory management device enables to effectively use a memory which permits its stored data to be erased only in blocks. A facsimile apparatus is arranged to temporarily store sending information and received information in the memory and then to send or receive the information. The facsimile apparatus includes a flash memory whose data is allowed to be erased only in blocks and a storage unit for storing the sending or the received information in its own blocks if the sending or the received information is stored in the flash memory.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a memory management device which operates to divide a memory into storage blocks so that the stored content is allowed to be erased only in blocks and a facsimile apparatus which is arranged to use the memory management device.

[0003] 2. Description of the Related Art

[0004] Dynamic RAMs (DRAM) and static RAMs (SRAM) are representatively used as memories. The DRAM needs to periodically rewrite data even if it is powered on, while the SRAM operates to hold data only if it is powered on. Both of these memories d-sable to hold their data without their powers. These memories are required to have a spare battery for backing them up when the power is interrupted. On the other hand, the ROMs are capable of holding data if the power is off, while the ROM often has difficulty in rewriting data. The EPROMs are capable of rewriting data again and again only if ultraviolet rays are applied thereto. Regrettably, however, the EPROM is required to rewrite all the content stored therein. The EEPROM allows a program stored therein to be electrically erased. The program can be erased also in bits. Further, a kind of ROM called as a flash memory has been currently used. The flash memory has a capability of erasing the stored data in blocks, that is, block by block.

[0005] As mentioned above, nowadays, many kinds of memories have been commercially made available. Those memories have their merits and demerits. It is now desirous to provide such a memory as keeping the same easiness of use as the DRAM or the SRAM and needing no power back-up. The DRAM or the SRAM is capable of easily changing a value of 1 or 0 at the current bit into a value of 0 or 1. On the other hand, the ROM keeps a value of 1 at any bit when it is in the initial state. If some data is written in the ROM, the values of 1 at the bits corresponding to the written data are changed to the values of 0. To return the 0's to the 1's, the ROM is required to do an erasing operation. Hence, unlike the DRAM, the ROM disables to easily change from the 0's to the 1's. For erasing the stored data, the EPROM enables to only erase all the data. The flash memory enables to erase the data only in blocks. Further, like the DRAM, the EEPROM has a capability of erasing the data in bits, that is, bit by bit. The EEPROM, however, is so expensive that it is not made available for general-purpose goods.

SUMMARY OF THE INVENTION

[0006] The present invention is designed to overcome the above-mentioned shortcomings, and it is an object of the present invention to provide a memory management device which achieves more efficient use of a memory whose data is erased only in each storage block and a facsimile apparatus which is arranged to use the memory management device.

[0007] In carrying out the object, according to a first aspect of the present invention, a memory management device provides a memory which enables to merely reverse the initial value at each bit and control means which operates to control the memory as considering the bit-by-bit reversed state from the initial state on the memory as a starting state.

[0008] According to a second aspect of the present invention, a memory management device provides a memory which operates to divide its storage area into blocks and erase the data only in a block-by-block manner, control means which sectionalizes the blocks according to the erasing condition of the information to be stored and store the information in the block having the corresponding erasing condition, and erasing means for erasing the stored content of the block only if the erasing conditions of all the stored informations about each block are met.

[0009] According to a third aspect of the present invention, a facsimile apparatus for temporarily storing the sending information or the received information in a memory and performing a series of operations containing sending or recording, provides the memory which operates to divide a storage area into blocks and erase the data only in blocks and storing means which operates to store the received information or the sending information in the sectionalized blocks if the information is to be stored in this memory.

[0010] According to a fourth aspect of the present invention, a facsimile apparatus for temporarily storing sending information and received information in a memory and then performing a series of operations containing sending or recording, provides the memory which operates to divide a storage area into blocks and erase the data only in blocks and control means which operates to read the data from the head of a group of empty blocks concatenated in a predetermined sequence if data is to be stored in one of the blocks of the memory.

[0011] According to a fifth aspect of the present invention, a facsimile apparatus for temporarily storing sending information or received information in a memory and then performing a series of operations containing sending or recording, provides the memory which operates to divide a storage area into blocks and erase the data only in blocks, storing means which operates to sectionalize the blocks for the sending information and the received information, and erasing means which operates to erase the sending information of one block when all the sending informations of the block are sent out or erase the received information of another block when a series of operations containing recording are done for all the received informations of the block.

[0012] According to a sixth aspect of the present invention, a facsimile apparatus for temporarily storing sending information or received information in a memory and then performing a series of operations containing sending or recording, provides the memory which operates to divide its storage area into blocks and erase the data only in blocks, erasing means which operates to erase the stored content of the memory in blocks, and control means which operates to couple the block whose content is erased by the erasing means to the tail of a group of empty blocks concatenated in a predetermined sequence.

[0013] According to a seventh aspect of the present invention, a facsimile apparatus for temporarily storing sending information or received information in a memory and then performing a series of operations containing sending or recording, provides the memory which operates to divide its storage area into blocks and erase the data only in blocks, erasing means which operates to erase the content stored in the memory in a block-by-block manner, and control means which operates to count the empty blocks if a sending or receiving operation is requested while the content of the block is being erased, perform the requested operation if it is equal to or more than the regulated number or keep to erase the data stored in the blocks until the number of actual empty blocks reach the regulated number, and then perform the requested operation.

[0014] According to an eighth aspect of the present invention, a facsimile apparatus for temporarily storing sending information or received information in a memory and then performing a series of operations containing sending or recording, provides the memory which operates to divide its storage area into blocks and erase the data only in blocks, erasion indicating means for indicating erasion of a block content, display means which operates to change the management data of an indicated block to the content of the block according to the erasing indication and display the erasing information of the block, and erasing means which operates to erase the content of the block whose management data is changed after the erasing information is displayed in the display means.

[0015] In the first aspect of the present invention, in the case of handling the memory, the memory is just allowed to be reversed from the initial state. Hence, the state reversed from the initial state in a bit-by-bit manner is used as a flag representing the starting state of the memory. This means that the initial state represents the waiting state.

[0016] In the second aspect of the present invention, the used memory operates to divide the storage area into blocks and erase the data only in blocks. Each block stores only the pieces of information having the same erasing condition. If the erasing conditions of all the pieces of information in the block are met, the informations in the block are erased. The informations having the same erasing condition often have a short period from when it is stored to when the erasing condition is met. On the other hand, if the pieces of information stored in one block have a different erasing condition rather than any other condition, a relatively long period is required until the erasing conditions of all the pieces of information stored in the block are met. By storing the informations having the same erasing condition in the same block, therefore, the content of the block is allowed to be quickly erased. The block is used for storing the new information. This serves to enhance the using effect.

[0017] In the third aspect of the present invention, in a case that the memory arranged to divide the storage area into blocks and erase the data in blocks is provided to the facsimile apparatus as a memory for storing the sending and receivied informations, if, at first, the sending or the receiving information is stored in one block, only the same type of information stored at first is stored in the block, so that both the received and the sending informations are not allowed to be stored in one block. If one kind of information is stored in one block and the other kind of information is stored in another block, the period taken when all the sending data in one block is sent or the period taken when all the receiving data in the block is recorded is shorter than the period if both kinds of data are stored in one block.

[0018] In the fourth aspect of the present invention, in a case that the memory arranged to divide the storage area into blocks and erase the data only in blocks is provided to the facsimile apparatus as a memory for storing the sending and the receiving informations, the empty blocks are concatenated in sequence for management so that the blocks are picked from the head one for storing the data therein. This makes it possible to evenly use all the blocks, thereby reducing the probability of failure in each block and hence prolonging the life of the memory.

[0019] In the fifth aspect of the present invention, in a case that the memory arranged to divide the storage area into blocks and erase the data only in blocks is provided to the facsimile apparatus as a memory for storing the sending and the received informations, either one of the sending information and the receiving information is stored in one block. If all the recorded sending informations are sent from the block where they are recorded, the data in the block is erased. On the other hand, when all the receiving informations are recorded in the block for recording only the received information, the overall information in the block is erased. In this state, the probability of establishing the erasing condition about all the informations in each block is higher than the probability given when both of the sending and the received informations are stored in one block. Hence, the period from when the data is stored in one block to when the data is erased from the block is reduced, thereby allowing the using ratio of the blocks to be enhanced.

[0020] In the sixth aspect of the present invention, in a case that the memory arranged to divide the storage area into blocks and erase the data only in blocks is provided to the facsimile apparatus as a memory for storing the sending and the received informations, if the erasing condition is met and the data is erased in blocks, the block whose content is erased is coupled to the tail of the empty blocks concatenated in the predetermined sequence. The blocks whose contents are erased are coupled in the erasing sequence. Hence, if the empty blocks are used, those blocks are allowed to be evenly used.

[0021] In the seventh aspect of the present invention, in a case that the memory arranged to divide the storage area into blocks and erase the data only in blocks is provided to the facsimile apparatus as a memory for storing sending and received informations, the erasing means operates to erase the block data if the erasing condition is met in the block. If the sending or receiving operation is requested while the block data is being erased, it is checked whether or not the number of empty blocks is equal to or more than the given number before the operation is executed. This makes it possible to secure storage of the regulated sending or receiving amount. If the number is less than the regulated number, the operation is executed to erase the data of the blocks whose erasing conditions are met until the number of the empty blocks reaches the regulated number. Then, the sending or receiving operation is executed.

[0022] Moreover, in the seventh aspect of the present invention, in a case that the memory arranged to divide the storage area into blocks and erase the data only in blocks is provided to the facsimile apparatus as a memory for storing the sending and the received informations, the received information may contain the information like a received message of an answering phone which is not permitted to be erased without judgement of a receiver. In this case, the erasion indicating means operates to indicate the erasion. In response to this indication, the display means operates to display the erasion of the block as keeping only the erasing management information of the block in the state that the block is erased. The erasing means operates to erase the content of the block. By this operation, an operator for indicating the erasion can quickly make sure that the erasion is done through the effect of the erasion indicating means. Hence, the operator does not need to wait until the actual erasion is done.

BRIEF DESCRIPTION OF THE DRAWINGS

[0023]FIG. 1 is a block diagram showing an overall arrangement of a memory management device according to an embodiment of the present invention;

[0024]FIG. 2 is a view showing an arrangement of a flash memory used in the embodiment;

[0025]FIG. 3 is a view showing an arrangement of an erase block management area;

[0026]FIG. 4 is an explanatory view illustrating the use of an erase block in each file;

[0027]FIG. 5 is a table showing an arrangement of a memory block management area;

[0028]FIG. 6 is a flowchart showing a checking operation of the flash memory when it is powered;

[0029]FIG. 7 is a flowchart showing an operation of writing data to the flash memory;

[0030]FIG. 8 is a flowchart showing an operation of erasing data from the flash memory; and

[0031]FIG. 9 is a view showing an example of displaying the erasing state of the flash memory.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0032] Later, the description will be oriented to a memory management device according to an embodiment of the present invention with reference to the drawings.

[0033]FIG. 1 is a block diagram showing an arrangement of the memory management device. In FIG. 1, a numeral 1 denotes a network control unit which is connected to a line 2 so that the network control unit 1 controls the connection with a line exchange network, concretely, performs calling, releasing or dialing. A numeral 3 denotes a modem which operates to modulate data to be sent into a signal or demodulate the received data into an original signal. The signal is suitable for data transmission through a phone line. A numeral 4 denotes a reader unit which operates to read a manuscript to be sent or copied. A numeral 5 denotes an operation unit through which an indication given by an operator such as a phone number or settings of an answering phone. A numeral 6 denotes a display unit which operates to display a response or a guide to the operator such as an inputted phone number. A numeral 7 denotes a recording unit which operates to print the received data or the data read by the reader unit 4.

[0034] A numeral 8 denotes an image processing unit which operates to magnify, reduce, rotate or move the read image or the image to be recorded. A numeral 9 denotes a speech recording and reproduction control unit which operates to control recording of a speech in the answering phone or reproduction of the speech through a speaker. A numeral 11 denotes a flash memory which operates to store the received information, the data to be sent from the memory, or a speech message of the answering phone. A numeral 12 denotes a memory control unit 12 which operates to control the flash memory 11 for storing data to be sent by a facsimile, data received by the facsimile or speech data sent by a phone. A numeral 13 denotes a display control unit which operates to control the reader unit 4, the operation unit 5, the display unit 6 and the recording unit 7. A numeral 14 denotes a main control unit which operates to control the overall arrangement of the device and decode the data received by the facsimile or code the data to be sent thereby.

[0035]FIG. 2 is a view showing an arrangement of the flash memory 11 used in the facsimile apparatus of this embodiment. As shown in FIG. 2, the flash memory used in this embodiment has a volume of 1 MB. The storage volume is divided into erase blocks, each of which has a volume of 64 KB. The stored data is erased in the erase block unit. Each erase block is composed of one management area for storing management information and 63 memory blocks each for storing data. This management area is composed of an erase block management area for storing information indicating the state of the corresponding erase block and a memory block management area for storing information indicating the state of the corresponding memory block. As the memory block management area, 63 areas are prepared in order to correspond to the 63 memory blocks respectively.

[0036]FIG. 3 is a view showing the arrangement of the erase block management area shown in FIG. 2. Now, each item provided in the erase block management area will be described later. The management area holds two types of informations, that is, management information and stored information. The management information contains a block erasing state, a block using information, an in-block memory information, a file item, an erase block location, and a next erase block number. The block erasing state indicates whether or not the corresponding erase block is logically erased. The block using information indicates whether or not the erase block is in use. The in-block memory information indicates whether or not a memory block in the erase block is empty, that is, any non-used memory block is left. The file item indicates what kind of information is stored in the erase block. The informations indicated as the file item contain data to be sent (referred to as sending data), received data, a received message and a response message of an answering phone, transmission to be done by a timer (referred to as timer transmission), and a bulletin board to be sent by a facsimile (referred to as facsimile bulletin board). Each erase block stores only one kind of those informations. Another kind of information is stored in another erase block. This is because the data is erased in an erase block unit. If each erase block stores the same kind of information, all the erasing conditions of the stored informations are met for quite a short time. The erasing condition means the termination of transmission of the data for the transmission data or the termination of recording the data for the received data. On the condition, the data is allowed to be erased from the flash memory.

[0037] The location of the erase block actually indicates the location where the empty erase blocks are ranged in a column for waiting for the data input. With reference to FIG. 4, the using state of the erase block will be described. A file is prepared for each kind of informations to be stored. Each erase block is made to be a leased block for the file when the erase block is used for each file. Each erase block is generated as a leased block for each file. When the total volume of the erase block goes beyond 64 KB, the next new erase block is generated and then is chain-coupled to the full erase block. The empty blocks are chain-coupled so that it is used from the head of the block chain. Further, the data-erased block is given back to the tail of the empty block chain. This makes the erasing time of each erase block uniform. Going back to FIG. 3, the next erase block number indicates the number of a next chained erase block if the erase block is chain-coupled to the empty blocks.

[0038] The storage information of FIG. 3 is a flag for representing the state of the management information title located in the left side. Except the file item contained in the management information, the initial state is indicated by 1 and the starting state is indicated by 0. For example, in the block erasing state, a non-used state (initial state) is 1, while a used state is 0. For the file item, each kind of information has the corresponding number. The next erase block number indicates FF (hexadecimal representation) given when the erase block is coupled to the tail of the empty blocks. If the next erase block is coupled similarly, the next erase block number indicates the number (00 to FE) of that erase block. As mentioned above, the initial state is 1 and the starting state is 0. This is because the flash memory allows the inversion of 0 to 1 to be executed only by the erasion, so that the operation of writing data to the memory allows only the change of 1 to 0.

[0039]FIG. 5 shows an arrangement of each memory block management area in the erase block management area shown in FIG. 2. Like FIG. 3, the memory block management area holds the management information and the storage information. The management information contains a file erasing state, a file using information, a next erase block location, a next memory block location, a memory in-block data length, a directory state, a directory information, a next page erase block location, and a next page memory block location. The file erasing state indicates whether or not a file stored in the corresponding memory block is erased. This information is meaningless unless it is related to the next file using information and any file is stored. The file using information indicates whether or not the corresponding memory block is in use. As shown in FIG. 4, since the erase blocks being used are coupled for each file, the next erase block location indicates the number of an erase block coupled next to the erase block to which the memory block belongs. If the subject erase block is located at the end of the chain, the number indicates FF. The next memory block location means the number of the next located memory block. The memory in-block data length represents the amount of data in the memory block by the number of bytes. In the directory state, it is declared that the use of the management area is prioritized if the state is determined as “0: in use”. Further, the memory blocks for each page are collectively managed. The directory information indicates whether or not the information is stored in the memory block(s) composing the directory. If yes, it means “closed”, while if no, it means “not closed”. The next page erase block location represents the location of the first erase block of the next page if the data is sent or received in a page unit. The next page memory block location represents the location of the first memory block of the next page. Like the description about FIG. 3, in the storage information located in the right side of FIG. 5, the initial state is represented by 1, while the starting state is represented by 0.

[0040] The description will be oriented to the operation of the facsimile apparatus having the flash memory 11 arranged as described above with reference to the flowcharts.

[0041]FIG. 6 is a flowchart showing the operation of the facsimile apparatus when it is powered on. When the facsimile apparatus is turned on, the operation is executed to determine whether or not data is stored (ST1). If it is determined that no data is stored, it is determined whether or not the flash memory is formatted in a predetermined manner (ST2). If not formatted, it indicates that the used flash memory is new. Then, the flash memory is divided into erase blocks, which corresponds to an erase unit (ST3). The generated erase blocks are all empty. Hence, these empty erase blocks are chain-coupled as an empty block group as described with respect to FIG. 4 (ST4).

[0042] If at the step ST1 it is determined that data is stored, it is determined whether or not any conflicting piece of data is mingled (ST5). Herein, the operation is executed to search the data whose directory state indicates “not in use” and directory information indicates “not closed”. Such a conflicting piece of data may take place when the power interruption causes the operation to be suspended while a file is being created. If the conflicting piece of data is found, the recovery process is executed (ST6). The recovery process varies according to the place where the operation is suspended. If the conflicting data may be saved, the directory of the data is changed from “not closed” to “closed”. If it may not be saved, the data of the erase block to which the memory block belongs is erased. According to this operation, all the data is retrieved (ST7) and the conflicting piece of data is recovered. Then, the flow given when the facsimile is powered is terminated.

[0043] Next, the operating flow of writing data to the flash memory 11 will be described with reference to FIG. 7. Any one of processes is executed such as sending of data from the memory, receipt of data in the memory, receipt of a speech by an answering phone, sending of data by a timer, notice of the bulletin board sent by a facsimile (ST101). Then, the operation is executed to check whether or not the erase block is provided for the file corresponding to the executed process (ST102). As described with respect to FIG. 4, this is executed for checking whether or not the erase block group is given for each file. This is determined from the file item of the erase block management area shown in FIG. 3. If no erase block corresponding to the process is found out, one erase block is obtained from the head of the empty block group shown in FIG. 4 (ST104).

[0044] The file item of the given process is described in the management area of the obtained erase block. Then, the block using information is made to be in use and the directory state of the memory block management area is also made to be in use (securing the directory area) (ST105). The data of the corresponding file is written in one memory block to which the erase block belongs (ST106). In the management area of the memory block in which data is written, the file using information is determined to be in use and the storage information such as a number of bytes of the written data is written in the management area (ST107). If the data is overflown out of one memory block, that is, the data is left to be written (ST108), the operation is executed to check whether or not the in-block memory information of the management area of the erase block indicates “there exists empty space” (ST110). If yes (ST111), the data is written to the next memory block (ST106) and the storage information described at the ST107 is written in the management area of this memory block. At this time, the number of the memory block in which data writing has just terminated is written in the location of the next memory block to this memory block management area, and the memory blocks are chain-coupled with each other. By iterating the loop composed of the steps ST106 to 108, 110 and 111, the data is written in the memory block. If the erase block is full of data on the way of writing data, the operations at the steps ST103, 104 and 105 are executed to obtain an empty block so that the remaining data is written in the obtained memory block.

[0045] After doing these operations, if no data is left (ST108), the storage informations of the erase block management area and the memory block management area are made to indicate the data-written states. Then, the directory information is made to be set as “closed” (ST109), and the operation is terminated. If no empty block is found at the step ST103, no more data is allowed to be stored. Hence, the operation is terminated.

[0046] In turn, the description will be oriented to the flow of erasing the data stored in the flash memory at an erase block unit with reference to FIG. 8. At first, it is checked that the operation such as sending of data from the memory, receipt of data in the memory or response of an answering phone is terminated (ST 201). Next, the erase block is picked up and it is checked that the block corresponds to the head one (NO.1) of the blocks NOs.1 to 16 indicated in the left side of FIG. 2 (ST 202). Then, based on the block using information of the erase block management area, it is also checked whether or not the erase block is not in use (ST203). If it is not in use, it is checked whether or not the erase block is the last erase block (NO.16) (ST 204). If it is not, it is checked whether or not the erase block corresponds to the next one (ST205).

[0047] If at the step ST203 the erase block is in use, it is determined whether or not the data in all the memory blocks of the erase block is to be erased (ST210). If the data is to be sent, the data to be erased means termination of sending of the data, while if the data is to be received, the data to be erased means termination of recording of the data. If one erase block contains even one piece of data (one memory block) not to be erased, the operation goes to the step ST204 without erasing the erase block. If all the data contained in the erase block are to be erased, the erase block is allowed to be erased (ST211). Then, the erase block whose data is erased is chain-coupled to the tail of the empty block group as shown in FIG. 4 (ST212). This chain-coupling is logically executed based on the information stored in the erase block management area shown in FIG. 3. It is therefore unnecessary to change the initial storage information realized by being erased. That is, in the storage information, the block erasing state is “not”, the block using information is “not used”, . . . , and the number of the next erase block indicates the tail “FF”.

[0048] After checking the next erase block at the step ST205, it is checked whether or not the request for the operation at the step ST201 is issued (ST206). If it is issued, it is checked whether or not the number of empty erase blocks is equal to or more than the regulated value (ST207). To count the number of the empty erase blocks, the block using information of the overall erase block management area is checked. That is, if the information about each erase block indicates “not used”, the number of the “not used” erase blocks is counted. The regulated value is defined by the data about sending and receipt treated by the facsimile apparatus. If the number of the empty blocks is equal to or more than the regulated value, the erasing work is interrupted, the requested operation is executed (ST208). After the operation is terminated (ST209), the serial processes at the steps ST203, ST204 and ST210 to ST212, which was executed by the first erase block, are carried out for the next erase block. These processes are repeated until the subject block reaches the last one (NO.16) (ST204). By performing such an erasing operation periodically or in response to an indication given by the operation unit 5, it is possible to efficiently use the flash memory 11.

[0049] Next, the description will be oriented to how an operator erases the content of the memory part. In the case of a message received by the answering phone, the message cannot be erased only after the receiver listens to the message. Further, for the facsimile bulletin board, if no notice period is indicated, the operator except the noticer himself cannot understand how long the bulletin board is to be noticed. To cope with this, the facsimile apparatus has to be arranged so that the noticer can give a proper indication of erasing the board through the operation unit 5. In this case, in order for the operator to make sure of the erasion, the erasing state is displayed on the display unit 6.

[0050]FIG. 9 shows a display example appearing when the data is erased. This example concerns with the case that the operator erases the notice on the facsimile bulletin board. Normally, the display unit 6 displays the data and the time. If an indication of erasing the board is given, to make sure of the indication, the sentence “Is Bulletin Board Erased?” appears on the display unit 6. Next, “Under Erasion” appears thereon. Then, the original date and time are displayed. This shift of the display is so short that the operator can feel the erasion is immediately terminated.

[0051] To erase one erase block, however, the facsimile apparatus of this embodiment needs about two seconds. It means that a considerable time is required for erasing the content stored in plural erase blocks. On the display, therefore, the block erasing state of the erase block management area is shifted from “yet” to “done” and the data erasion of the erase block is terminated. After this display, the erasing operation is performed along the flowchart shown in FIG. 8. This makes it possible to realize a more convenient facsimile apparatus.

[0052] As is obvious from the above description, according to the present invention, if the facsimile apparatus uses such a memory as allowing the data to be erased in blocks, the memory may holds the same operativity as the conventional DRAM or SRAM if the way of use is properly selected. Further, the memory used in the present invention does not need a power supply for holding the stored content. It means that the memory may be easily handled. The present invention has the following effects (1) to (8).

[0053] (1) In the case of using the memory in bits, by setting the initial state as a waiting state and the state reversed from the initial state as a starting state, like the conventional memory, the memory may be used as a flag.

[0054] (2) Since the memory is managed so that one block stores only the same kind of information, the period when the erasing condition of the block becomes satisfactory is made shorter and thereby the data of the block may be erased quickly. This enables to enhance the efficiency of using the memory.

[0055] (3) In a case that the facsimile apparatus uses a memory which enables to store data only in blocks, the memory may be arranged so that one block stores only the sending information, while another block stores only the received information. In this arrangement, the period when the erasing condition is made satisfactory in each block is made shorter and thereby the erasion is made faster. This enables to enhance the efficiency of utilizing the blocks in the memory.

[0056] (4) In a case that the facsimile apparatus uses a memory which enables to store data only in blocks, the empty blocks are logically ranged in a line so that these blocks are picked from the head. As such, the probability of evenly using the blocks is made higher and thereby the failure takes place less frequency. This leads to extending the life of the memory.

[0057] (5) In a case that the facsimile apparatus uses a memory which enables to store data only in blocks, the sending information and the received information are stored in respective blocks. This serves to shorten the period when the erasing conditions of the informations are met. Immediately when the conditions are met, these informations are erased. This makes it possible to process a lot of data even with a small amount of volume.

[0058] (6) In a case that the facsimile apparatus uses a memory which enables to store data only in blocks, if the block data is erased after the condition is met, the block is connected to the tail of the empty blocks, so that the empty blocks are coupled in the using sequence. This makes it possible to evenly use the blocks, thereby extending the life of the memory.

[0059] (7) In a case that the facsimile apparatus uses a memory which enables to store data only in blocks, the block data is erased if the erasing condition of the block is met. When the request for sending or received data is issued while the data is being erased, it is checked that the number of the empty blocks is equal to or more than the predetermined number and then the operation is determined to be done. Hence, during the operation, the memory volume is secured. The data is allowed to be positively sent or received.

[0060] (8) In a case that the facsimile apparatus uses a memory which enables to store data only in blocks, when an operator erases data in the block, the termination of erasion is displayed at a time when the management data of the block requested to erase the erasing condition is erased. Then, the stored content is erased. By this operation, the operator can immediately make sure that the content is erased and does not have to wait until the actual erasion is done. 

What is claimed is:
 1. A memory management device comprising: a memory arranged to inverse each bit of an initial state for storing data; and control means for controlling said memory in the state that a state of said bits inverted from the initial state on said memory represents a starting state.
 2. A memory management device comprising: a memory arranged to divide its storage area into plural blocks and erase data stored therein only in blocks; and control means for controlling said memory so that if said memory is not formatted, said memory is formatted to be divided into blocks and said blocks are coupled as an empty block group, if information is stored in said memory after being formatted, any empty block is picked out of said empty block group and said information is stored in said picked-up empty block.
 3. A memory management device comprising: a memory arranged to divide its storage area into plural blocks and erase stored data only in blocks; and control means for controlling said memory so that said blocks are held as an empty block group, information is stored in the head of said empty block group, and if said information stored in said head block is erased from said head block, said block is coupled to the tail of said empty block group.
 4. A memory management device comprising: a memory arranged to divide its storage area into plural blocks, erase stored data only in blocks, and reverse its initial state bit by bit for rewriting the data; and control means for controlling said memory so that when information stored in any block of said memory is erased, the locational information of the block is represented as a maximum value for connecting the block to the tail of an empty block group, and each time such a block is connected to the empty block group, the locational information is decreased.
 5. A memory management device as claimed in claim arranged to control said memory so that the locational information of said connected blocks is represented as a sequence of said empty block group and the locational information of a block located at the last end is represented as a maximum value.
 6. A memory management device comprising: a memory arranged to divide its storage area into blocks and erase stored data only in blocks; control means for controlling said memory so that said blocks are sectionalized according to an erasing condition of information to be stored and said information is stored in the block whose erasing condition is met; and erasing means for erasing a content stored in any block if the erasing conditions of all the informations stored in the block are met.
 7. A facsimile apparatus comprising: communication means for sending or receiving information; a memory arranged to divide its storage area into blocks and erase stored data only in blocks; and control means for controlling said memory so that if said information to be sent or received by said communication means is stored in said memory, said received information and sending information are stored in respective blocks of said memory.
 8. A facsimile apparatus comprising: communication means for sending or receiving information; a memory arranged to divide its storage area into blocks and erase stored data only in blocks; and control means for controlling said memory so that a stored content type containing information sent and received by said communication means is stored in each of said blocks.
 9. A facsimile apparatus comprising: communication means for sending or receiving information; output means for outputting said information for printing; a memory, arranged to divide its storage area into blocks and erase stored data only in blocks; and control means for controlling said memory so as to more divide each of said blocks into subblocks and store in one of said subblocks management information about image data stored in the other subblocks, said management information containing termination of the communication done by said communication means and termination of printed output of the received information done by said outputting means.
 10. A facsimile apparatus comprising: a memory arranged to divide its storage area into blocks, erase stored data only in blocks and compose an empty block group in a predetermined sequence; and control means for controlling said memory so that if said block is selected from said memory for storing data, said block is picked out of the head of said empty block group for storing the data.
 11. A facsimile apparatus comprising: reading means for reading a manuscript; communication means for sending or receiving information; output means for outputting printed information; a memory arranged to divide its storage area into blocks, erase stored data only in blocks, and store sending information read by said reading means and received information obtained by said communication means in respective places; and control means for controlling said memory so that when the sending information stored in said memory is sent by said communication means or when the received information is outputted from said outputting means in a printed manner, the sending information or the received information is erased from their respective blocks.
 12. A facsimile apparatus comprising: communication means for sending or receiving information; outputting means for outputting information in a printed manner; a memory arranged to divide its storage area into blocks, erase stored data only in blocks, and compose an empty block group in a predetermined sequence; and control means for controlling said memory so that if information stored in blocks is erased from said memory, said block whose data is erased is coupled to the tail of said empty block group.
 13. A facsimile apparatus comprising: reading means for reading a manuscript; communication means for sending or receiving information; a memory arranged to divide its storage area into blocks and erase stored data only in blocks; erasing means for erasing said stored data in blocks; and control means for controlling said memory so that if a request for registering the sending information is issued by said reading means or a request for receiving the information is issued by said communication means while the data is being erased, the number of empty blocks is counted, and if the count is equal to or more than the regulated number, said erasing is continued, or if the count is less than the regulated number, after data is erased until the number of the empty blocks reaches said regulated number, said registering operation is performed by said reading means or said receiving operation is performed by said communication means
 14. A facsimile apparatus comprising: a memory arranged to divide its storage area into blocks and erase stored data only in blocks; operating means for indicating erasion -of said memory in blocks; display means for displaying a message indicating that data is being erased for a shorter time than a time needed for erasion before the erasing process by handling said operating means; and control means for controlling said memory so that data stored in said memory is erased in blocks after said message is displayed in said display means. 